package com.site.wisdom_construction.entity.safetyModule;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.sql.Date;

/**
 * @Description  
 * @Author  DYF
 * @Date 2022-02-21 
 */

@ApiModel (value ="安全隐患记录表实体类", description = "SafetyDangerRecord")
public class SafetyDangerRecord {
	/**
	 * 安全隐患记录表id
	 */
   	@ApiModelProperty(value = "安全隐患记录表id", name = "id")
	private Integer id;

	/**
	 * 项目id
	 */
   	@ApiModelProperty(value = "项目id", name = "projectId")
	private Integer projectId;

	/**
	 * 劳务人员id(整改负责人)
	 */
	@ApiModelProperty(value = "劳务人员id(整改负责人)", name = "workersId")
	private Integer workersId;

	/**
	 * 劳务人员姓名
	 */
	@ApiModelProperty(value = "劳务人员姓名", name = "workersName")
	private String workersName;

	/**
	 * 管理人员id(隐患上传人)
	 */
	@ApiModelProperty(value = "管理人员id(隐患上传人)", name = "managerialId")
	private Integer managerialId;

	/**
	 * 管理人员姓名
	 */
	@ApiModelProperty(value = "管理人员姓名", name = "managerialName")
	private String managerialName;

	/**
	 * 安全隐患类型id
	 */
	@ApiModelProperty(value = "安全隐患类型id", name = "safetyTypeId")
	private Integer safetyTypeId;

	/**
	 * 安全隐患名称
	 */
	@ApiModelProperty(value = "安全隐患名称", name = "safetyTypeName")
	private String safetyTypeName;

	/**
	 * 劳务队伍id
	 */
	@ApiModelProperty(value = "劳务队伍id", name = "subcontractorsId")
	private Integer subcontractorsId;

	/**
	 * 劳务队伍名称
	 */
	@ApiModelProperty(value = "劳务队伍名称", name = "subcontractorsName")
	private String subcontractorsName;

	/**
	 * 班组id
	 */
	@ApiModelProperty(value = "班组id", name = "teamId")
	private Integer teamId;

	/**
	 * 班组名称
	 */
	@ApiModelProperty(value = "班组名称", name = "teamName")
	private String teamName;

	/**
	 * 巡检点id
	 */
   	@ApiModelProperty(value = "巡检点id", name = "safetyInspectionId")
	private Integer safetyInspectionId;

	/**
	 * 巡检点名称
	 */
	@ApiModelProperty(value = "巡检点名称", name = "safetyInspectionName")
	private String safetyInspectionName;

	/**
	 * 安全隐患标题
	 */
   	@ApiModelProperty(value = "安全隐患标题", name = "safetyTitle")
	private String safetyTitle;

	/**
	 * 隐患等级
	 */
	@ApiModelProperty(value = "隐患等级", name = "hazardLevel")
	private String hazardLevel;

	/**
	 * 隐患描述
	 */
   	@ApiModelProperty(value = "隐患描述", name = "safetyDescription")
	private String safetyDescription;

	/**
	 * 隐患发现时间
	 */
   	@ApiModelProperty(value = "隐患发现时间", name = "discoverTime")
	@JsonFormat(timezone = "GMT+8", pattern ="yyyy-MM-dd HH:MM:ss")
	private Date discoverTime;

	/**
	 * 隐患图片(多图 [])
	 */
   	@ApiModelProperty(value = "隐患图片(多图 [])", name = "safetyImg")
	private String safetyImg;

	/**
	 * 整改类型
	 */
	@ApiModelProperty(value = "整改类型", name = "abarbeitungType")
	private String abarbeitungType;

	/**
	 * 整改期限
	 */
   	@ApiModelProperty(value = "整改期限", name = "anticipateAbarbeitungTime")
	@JsonFormat(timezone = "GMT+8", pattern ="yyyy-MM-dd HH:MM:ss")
	private Date anticipateAbarbeitungTime;

	/**
	 * 整改措施
	 */
   	@ApiModelProperty(value = "整改措施", name = "rectificationMeasures")
	private String rectificationMeasures;

	/**
	 * 整改预案
	 */
   	@ApiModelProperty(value = "整改预案", name = "abarbeitungPlan")
	private String abarbeitungPlan;

	/**
	 * 整改资金
	 */
   	@ApiModelProperty(value = "整改资金", name = "abarbeitungCapital")
	private String abarbeitungCapital;

	/**
	 * 整改描述
	 */
   	@ApiModelProperty(value = "整改描述", name = "abarbeitungDescription")
	private String abarbeitungDescription;

	/**
	 * 整改图片(多图 [])
	 */
   	@ApiModelProperty(value = "整改图片(多图 [])", name = "abarbeitungImg")
	private String abarbeitungImg;

	/**
	 * 整改时间
	 */
   	@ApiModelProperty(value = "整改时间", name = "abarbeitungTime")
	@JsonFormat(timezone = "GMT+8", pattern ="yyyy-MM-dd HH:MM:ss")
	private Date abarbeitungTime;

	/**
	 * 参与整改劳务工人(用 [] 数组存放工人id)
	 */
   	@ApiModelProperty(value = "参与整改劳务工人(用 [] 数组存放工人id)", name = "abarbeitungWorkers")
	private String abarbeitungWorkers;

	/**
	 * 验收描述
	 */
   	@ApiModelProperty(value = "验收描述", name = "reviewDescription")
	private String reviewDescription;

	/**
	 * 负责人
	 */
   	@ApiModelProperty(value = "负责人", name = "responsiblePerson")
	private String responsiblePerson;

	/**
	 * 登记人
	 */
   	@ApiModelProperty(value = "登记人", name = "registrant")
	private String registrant;

	/**
	 * 登记时间
	 */
   	@ApiModelProperty(value = "登记时间", name = "registrantTime")
	@JsonFormat(timezone = "GMT+8", pattern ="yyyy-MM-dd HH:MM:ss")
	private Date registrantTime;

	/**
	 * 积分
	 */
   	@ApiModelProperty(value = "积分", name = "integral")
	private Integer integral;

	/**
	 * 状态(1:待整改 2:整改待验 3:已整改 )
	 */
   	@ApiModelProperty(value = "状态(1:待整改 2:整改待验 3:已整改 )", name = "status")
	private String status;

	public SafetyDangerRecord(){ super(); }

	public SafetyDangerRecord(Integer id, Integer projectId, Integer workersId, String workersName, Integer managerialId, String managerialName, Integer safetyTypeId, String safetyTypeName, Integer subcontractorsId, String subcontractorsName, Integer teamId, String teamName, Integer safetyInspectionId, String safetyInspectionName, String safetyTitle, String hazardLevel, String safetyDescription, Date discoverTime, String safetyImg, String abarbeitungType, Date anticipateAbarbeitungTime, String rectificationMeasures, String abarbeitungPlan, String abarbeitungCapital, String abarbeitungDescription, String abarbeitungImg, Date abarbeitungTime, String abarbeitungWorkers, String reviewDescription, String responsiblePerson, String registrant, Date registrantTime, Integer integral, String status) {
		this.id = id;
		this.projectId = projectId;
		this.workersId = workersId;
		this.workersName = workersName;
		this.managerialId = managerialId;
		this.managerialName = managerialName;
		this.safetyTypeId = safetyTypeId;
		this.safetyTypeName = safetyTypeName;
		this.subcontractorsId = subcontractorsId;
		this.subcontractorsName = subcontractorsName;
		this.teamId = teamId;
		this.teamName = teamName;
		this.safetyInspectionId = safetyInspectionId;
		this.safetyInspectionName = safetyInspectionName;
		this.safetyTitle = safetyTitle;
		this.hazardLevel = hazardLevel;
		this.safetyDescription = safetyDescription;
		this.discoverTime = discoverTime;
		this.safetyImg = safetyImg;
		this.abarbeitungType = abarbeitungType;
		this.anticipateAbarbeitungTime = anticipateAbarbeitungTime;
		this.rectificationMeasures = rectificationMeasures;
		this.abarbeitungPlan = abarbeitungPlan;
		this.abarbeitungCapital = abarbeitungCapital;
		this.abarbeitungDescription = abarbeitungDescription;
		this.abarbeitungImg = abarbeitungImg;
		this.abarbeitungTime = abarbeitungTime;
		this.abarbeitungWorkers = abarbeitungWorkers;
		this.reviewDescription = reviewDescription;
		this.responsiblePerson = responsiblePerson;
		this.registrant = registrant;
		this.registrantTime = registrantTime;
		this.integral = integral;
		this.status = status;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getProjectId() {
		return projectId;
	}

	public void setProjectId(Integer projectId) {
		this.projectId = projectId;
	}

	public Integer getWorkersId() {
		return workersId;
	}

	public void setWorkersId(Integer workersId) {
		this.workersId = workersId;
	}

	public String getWorkersName() {
		return workersName;
	}

	public void setWorkersName(String workersName) {
		this.workersName = workersName;
	}

	public Integer getManagerialId() {
		return managerialId;
	}

	public void setManagerialId(Integer managerialId) {
		this.managerialId = managerialId;
	}

	public String getManagerialName() {
		return managerialName;
	}

	public void setManagerialName(String managerialName) {
		this.managerialName = managerialName;
	}

	public Integer getSafetyTypeId() {
		return safetyTypeId;
	}

	public void setSafetyTypeId(Integer safetyTypeId) {
		this.safetyTypeId = safetyTypeId;
	}

	public String getSafetyTypeName() {
		return safetyTypeName;
	}

	public void setSafetyTypeName(String safetyTypeName) {
		this.safetyTypeName = safetyTypeName;
	}

	public Integer getSubcontractorsId() {
		return subcontractorsId;
	}

	public void setSubcontractorsId(Integer subcontractorsId) {
		this.subcontractorsId = subcontractorsId;
	}

	public String getSubcontractorsName() {
		return subcontractorsName;
	}

	public void setSubcontractorsName(String subcontractorsName) {
		this.subcontractorsName = subcontractorsName;
	}

	public Integer getTeamId() {
		return teamId;
	}

	public void setTeamId(Integer teamId) {
		this.teamId = teamId;
	}

	public String getTeamName() {
		return teamName;
	}

	public void setTeamName(String teamName) {
		this.teamName = teamName;
	}

	public Integer getSafetyInspectionId() {
		return safetyInspectionId;
	}

	public void setSafetyInspectionId(Integer safetyInspectionId) {
		this.safetyInspectionId = safetyInspectionId;
	}

	public String getSafetyInspectionName() {
		return safetyInspectionName;
	}

	public void setSafetyInspectionName(String safetyInspectionName) {
		this.safetyInspectionName = safetyInspectionName;
	}

	public String getSafetyTitle() {
		return safetyTitle;
	}

	public void setSafetyTitle(String safetyTitle) {
		this.safetyTitle = safetyTitle;
	}

	public String getHazardLevel() {
		return hazardLevel;
	}

	public void setHazardLevel(String hazardLevel) {
		this.hazardLevel = hazardLevel;
	}

	public String getSafetyDescription() {
		return safetyDescription;
	}

	public void setSafetyDescription(String safetyDescription) {
		this.safetyDescription = safetyDescription;
	}

	public Date getDiscoverTime() {
		return discoverTime;
	}

	public void setDiscoverTime(Date discoverTime) {
		this.discoverTime = discoverTime;
	}

	public String getSafetyImg() {
		return safetyImg;
	}

	public void setSafetyImg(String safetyImg) {
		this.safetyImg = safetyImg;
	}

	public String getAbarbeitungType() {
		return abarbeitungType;
	}

	public void setAbarbeitungType(String abarbeitungType) {
		this.abarbeitungType = abarbeitungType;
	}

	public Date getAnticipateAbarbeitungTime() {
		return anticipateAbarbeitungTime;
	}

	public void setAnticipateAbarbeitungTime(Date anticipateAbarbeitungTime) {
		this.anticipateAbarbeitungTime = anticipateAbarbeitungTime;
	}

	public String getRectificationMeasures() {
		return rectificationMeasures;
	}

	public void setRectificationMeasures(String rectificationMeasures) {
		this.rectificationMeasures = rectificationMeasures;
	}

	public String getAbarbeitungPlan() {
		return abarbeitungPlan;
	}

	public void setAbarbeitungPlan(String abarbeitungPlan) {
		this.abarbeitungPlan = abarbeitungPlan;
	}

	public String getAbarbeitungCapital() {
		return abarbeitungCapital;
	}

	public void setAbarbeitungCapital(String abarbeitungCapital) {
		this.abarbeitungCapital = abarbeitungCapital;
	}

	public String getAbarbeitungDescription() {
		return abarbeitungDescription;
	}

	public void setAbarbeitungDescription(String abarbeitungDescription) {
		this.abarbeitungDescription = abarbeitungDescription;
	}

	public String getAbarbeitungImg() {
		return abarbeitungImg;
	}

	public void setAbarbeitungImg(String abarbeitungImg) {
		this.abarbeitungImg = abarbeitungImg;
	}

	public Date getAbarbeitungTime() {
		return abarbeitungTime;
	}

	public void setAbarbeitungTime(Date abarbeitungTime) {
		this.abarbeitungTime = abarbeitungTime;
	}

	public String getAbarbeitungWorkers() {
		return abarbeitungWorkers;
	}

	public void setAbarbeitungWorkers(String abarbeitungWorkers) {
		this.abarbeitungWorkers = abarbeitungWorkers;
	}

	public String getReviewDescription() {
		return reviewDescription;
	}

	public void setReviewDescription(String reviewDescription) {
		this.reviewDescription = reviewDescription;
	}

	public String getResponsiblePerson() {
		return responsiblePerson;
	}

	public void setResponsiblePerson(String responsiblePerson) {
		this.responsiblePerson = responsiblePerson;
	}

	public String getRegistrant() {
		return registrant;
	}

	public void setRegistrant(String registrant) {
		this.registrant = registrant;
	}

	public Date getRegistrantTime() {
		return registrantTime;
	}

	public void setRegistrantTime(Date registrantTime) {
		this.registrantTime = registrantTime;
	}

	public Integer getIntegral() {
		return integral;
	}

	public void setIntegral(Integer integral) {
		this.integral = integral;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	@Override
	public String toString() {
		return "{" +
				"id=" + id +
				", projectId=" + projectId +
				", workersId=" + workersId +
				", workersName='" + workersName + '\'' +
				", managerialId=" + managerialId +
				", managerialName='" + managerialName + '\'' +
				", safetyTypeId=" + safetyTypeId +
				", safetyTypeName='" + safetyTypeName + '\'' +
				", subcontractorsId=" + subcontractorsId +
				", subcontractorsName='" + subcontractorsName + '\'' +
				", teamId=" + teamId +
				", teamName='" + teamName + '\'' +
				", safetyInspectionId=" + safetyInspectionId +
				", safetyInspectionName='" + safetyInspectionName + '\'' +
				", safetyTitle='" + safetyTitle + '\'' +
				", hazardLevel='" + hazardLevel + '\'' +
				", safetyDescription='" + safetyDescription + '\'' +
				", discoverTime=" + discoverTime +
				", safetyImg='" + safetyImg + '\'' +
				", abarbeitungType='" + abarbeitungType + '\'' +
				", anticipateAbarbeitungTime=" + anticipateAbarbeitungTime +
				", rectificationMeasures='" + rectificationMeasures + '\'' +
				", abarbeitungPlan='" + abarbeitungPlan + '\'' +
				", abarbeitungCapital='" + abarbeitungCapital + '\'' +
				", abarbeitungDescription='" + abarbeitungDescription + '\'' +
				", abarbeitungImg='" + abarbeitungImg + '\'' +
				", abarbeitungTime=" + abarbeitungTime +
				", abarbeitungWorkers='" + abarbeitungWorkers + '\'' +
				", reviewDescription='" + reviewDescription + '\'' +
				", responsiblePerson='" + responsiblePerson + '\'' +
				", registrant='" + registrant + '\'' +
				", registrantTime=" + registrantTime +
				", integral=" + integral +
				", status='" + status + '\'' +
				'}';
	}
}
